package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectAnswerDTO;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签DTO的转换
 */
@Mapper
public interface SubjectAnswerDTOConverter {

    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);


    SubjectAnswerBo convertDTOtoBo(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerBo>  convertListDTOtoBo(List<SubjectAnswerDTO> subjectAnswerDTOList);
}
